{extend name="base" /}

{block name="title"}添加公告{/block}

{block name="main"}
	<!-- Content Wrapper. Contains page content -->
	<div class="content-wrapper">
		<!-- Content Header (Page header) -->
		<section class="content-header">
			<h1>添加公告 <small>王者荣耀</small></h1>
			<ol class="breadcrumb">
				<li><a href="/shuashuale"><i class="fa fa-home"></i> 首页</a></li>
				<li><a href="/shuashuale/notice"> 交流中心</a></li>
				<li class="active">添加公告</li>
			</ol>
		</section>

		<!-- Main content -->
		<section class="content container-fluid">
			<div class="col-md-10">
				<div class="box box-info">
					<div class="box-header">
						<h3 class="box-title">发布公告<small>王者荣耀</small></h3>
					</div>
					<form class="form-horizontal" method="post">
						<div class="box-body pad">
							<div class="form-group">
								<label class="col-sm-3 control-label">标题</label>
								<div class="col-sm-9"><input type="text" class="form-control" name="title" placeholder="输入标题"></div>
							</div>
	
							<div class="form-group">
								<label class="col-sm-3 control-label">内容</label>
								<div class="col-sm-9"><textarea  class="form-control" id="editor" name="desc" rows="10"></textarea></div>
							</div>
						</div>
						<div class="box-footer"><button type="submit" class="btn btn-info btn-block">发布公告</button></div>
					</form>
				</div>
			</div>
			<!-- /.box -->
		</section>
		<!-- /.content -->
	</div>
	<!-- /.content-wrapper -->
{/block}
{block name="script"}
	<script src="/backend/bower_components/ckeditor/ckeditor.js"></script>
	<script type="text/javascript">
		$(function () {
			CKEDITOR.replace('editor');
		});
	</script>
{/block}
